package 练习程序;

public class test01 {
    public static void main(String[] args) {
        char[] s;
        java.util.Scanner s1 = new java.util.Scanner(System.in);
        s = ((s1.nextLine()).toLowerCase()).replaceAll("[^a-z^A-Z]", "").toCharArray();
        int[] a = new int[26];
        char[] t = "abcdefghijklmnopqrstuvwxyz".toCharArray();
        int m = t.length;
        int n = s.length;
        for (int i = 0; i < n; i++) {
            for (int j = 0; j < m; j++) {
                if (s[i] == t[j]) {
                    a[j]++;
                }
            }
        }

        for (int j = 0; j < m; j++) {
            if (a[j] != 0) {
                System.out.print(t[j] + "=" + a[j] + "  ");
            }


        }

    }
}